KeyScript
short scriptCode ; value for new keyboard script
KeyScript sets the keyboard script, changes the keyboard layout to that of the new script, and draws the new script's icon in the upper-right corner of
the menu bar.
scriptCode is the identifier for the new keyboard script.
Notes: Applications can call SetEnvirons and include the verb smKeyScript to change the keyboard script without changing the keyboard layout or the
menu-bar script icon. Apple recommends you use such a method only for
special operations that will be over quickly as it runs counter to the
routines.